package com.mengxiangnongfu.service;

import com.mengxiangnongfu.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService {

    /**
     * 根据手机号查询用户
     *
     * @param phone
     * @return
     */
    User queryUserByPhone(String phone);

    /**
     * 根据ID查询用户
     *
     * @param userId
     * @return
     */
    User getOne(Long userId);

}
